package com.hejia.alauda.entity;

import javax.persistence.Column;
import javax.persistence.Entity;

import com.fasterxml.jackson.annotation.JsonIgnore;

@Entity
public class Agreement extends BaseEntity{
	
	private static final long serialVersionUID = -771251502447271259L;

	@JsonIgnore
	@Column
	private User user;
	
	@JsonIgnore
	@Column
	private Financing financing;
	
	@Column
	private String title;
	
	@Column
	@JsonIgnore
	private String content;
	
	@Column
	private String serial;
	
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Financing getFinancing() {
		return financing;
	}
	public void setFinancing(Financing financing) {
		this.financing = financing;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getSerial() {
		return serial;
	}
	public void setSerial(String serial) {
		this.serial = serial;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	
	
}
